package cn.liontalk.annotation;

import java.lang.annotation.*;

/**
 * @author ZhouZhe
 * @version 1.0
 * @description 访问控制注解
 * @date 2019-01-24 20:49
 **/
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER})
public @interface AccessLimit {
    int seconds();

    int maxCount();

    boolean needLogin() default true;
}
